import request from "../uilts/request";

//用户登录
export function userLogin(data) {
    return request({
        method: 'POST',
        url: 'api/employee/login',
        data
    })
}

//根据token获取完整用户信息
export function getInfo() {
    return request({
        url: 'api/user/getInfo',
        method: 'GET',
    })
}
//获得角色权限
export function getMenu() {
    return request({
        url: 'api/user/getMenu',
        method: 'GET',
    })
}
//修改密码
export function changePass() {
    return request({
        url: 'api/user/updatePass',
        method: 'GET',
    })
}
//获取音频图片
export function recallList() {
    return request({
        url: 'api/recall/fileList',
        method: 'GET',
    })
}
//获取keyword
export function getJobKeyword() {
    return request({
        url: 'api/enum/getJobKeyword',
        method: 'GET',
    })
}
//excel导出
export function resultExcel(params={}) {
    return request({
        url: 'api/customer/resultExcel',
        method: 'GET',
        params
    })
}